package com.travel.entity;
/**
* @Title Room.java
* @Package com.travel.entity
* @Author sixmarkblue
* @Time 2020年10月27日 上午9:44:25
* @Version 1.0
* @Description: 客房实体类
*/

import java.math.BigDecimal;

public class Room {
	// 客房编号
	private Integer roomId;
	// 酒店编号
	private Integer hotelId;
	// 客房类型编号
	private Integer roomTypeId;
	// 客房价格
	private BigDecimal roomPrice;
	// 客房名称
	private String roomName;
	// 客房图片
	private String roomPicture;
	
	// 酒店名称
	private String hotelName;
	// 客房类型名称
	private String roomType;
	
	
	/**
	 * 无参构造
	 */
	public Room() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	/**
	 * 有参构造
	 * @param roomId 
	 * @param hotelId
	 * @param roomTypeId
	 * @param roomPrice
	 * @param roomName
	 * @param roomPicture
	 */
	public Room(Integer roomId, Integer hotelId, Integer roomTypeId, BigDecimal roomPrice, String roomName,
			String roomPicture) {
		super();
		this.roomId = roomId;
		this.hotelId = hotelId;
		this.roomTypeId = roomTypeId;
		this.roomPrice = roomPrice;
		this.roomName = roomName;
		this.roomPicture = roomPicture;
	}
	
	/**
	 * 存储酒店名与客房名的有参构造
	 * @param roomId
	 * @param roomPrice
	 * @param roomName
	 * @param roomPicture
	 * @param hotelName
	 * @param roomType
	 */
	public Room(Integer roomId, BigDecimal roomPrice, String roomName, String roomPicture, String hotelName,
			String roomType) {
		super();
		this.roomId = roomId;
		this.roomPrice = roomPrice;
		this.roomName = roomName;
		this.roomPicture = roomPicture;
		this.hotelName = hotelName;
		this.roomType = roomType;
	}


	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public Integer getRoomId() {
		return roomId;
	}

	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}

	public Integer getHotelId() {
		return hotelId;
	}

	public void setHotelId(Integer hotelId) {
		this.hotelId = hotelId;
	}

	public Integer getRoomTypeId() {
		return roomTypeId;
	}

	public void setRoomTypeId(Integer roomTypeId) {
		this.roomTypeId = roomTypeId;
	}

	public BigDecimal getRoomPrice() {
		return roomPrice;
	}

	public void setRoomPrice(BigDecimal roomPrice) {
		this.roomPrice = roomPrice;
	}

	public String getRoomPicture() {
		return roomPicture;
	}


	public void setRoomPicture(String roomPicture) {
		this.roomPicture = roomPicture;
	}

	

	public String getHotelName() {
		return hotelName;
	}


	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}


	public String getRoomType() {
		return roomType;
	}


	public void setRoomType(String roomType) {
		this.roomType = roomType;
	}


	@Override
	public String toString() {
		return "Room [roomId=" + roomId + ", hotelId=" + hotelId + ", roomTypeId=" + roomTypeId + ", roomPrice="
				+ roomPrice + ", roomName=" + roomName + ", roomPicture=" + roomPicture + ", hotelName=" + hotelName
				+ ", roomType=" + roomType + "]";
	}



}
